package callchain;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

import soot.PackManager;
import soot.Transform;

public class CallChainMain {
	
	public static void main(String[] args) {
		List<String> argsList = new ArrayList<String>(Arrays.asList(args));
//		argsList.addAll(Arrays.asList(new String[] { "-w", "-keep-line-number"}));
		CallChainTransformer callChainTrans = new CallChainTransformer();
		PackManager.v().getPack("wjtp").add(
				new Transform("wjtp.callChainTrans", callChainTrans));
		
		soot.Main.main(argsList.toArray(new String[0]));
	}

}
